<?php

return [

    //+----------------------------------------------------------------------
    //  memcache(支持分布式)：[ 节点 ] | [ 节点=>权重 ]
    //+----------------------------------------------------------------------

    'memcache' => [
        '127.0.0.1:11211'
    ],

    'memcached' => [
        '127.0.0.1:11211'
    ],

    //+----------------------------------------------------------------------
    //  redis：主从复制
    //+----------------------------------------------------------------------

    'redis' => [
            'master' => '127.0.0.1:6379',
            'slave' => [
                '127.0.0.1:6379',
            ],
        'auth' => []    // 地址 => 密码
    ]
];